<?php
include_once('common/header.php');
if($AppUI->id <= 0 || (isset($_SESSION['seo']) && (($_SESSION['seo']&1<<0) == 0))) {
	$this->_redirect(HOST_BACKEND);
}
$intSeoId = $objRequest->getParam('seoid', 0);
$objSeo	  = new Seo();
$this->view->row	= $objSeo->get($intSeoId);
$this->view->prefer	= isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : (HOST_BACKEND . 'seo/index');